﻿<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ include file="../include/head.jspf"%>   
<title>东方易云后台管理系统</title>
<style>
body { background: #f5f5f5 ;}
</style>

<!--[if lt IE 7.]>
<script defer type="text/javascript" src="js/pngfix.js"></script>
<![endif]-->
</head>
<body>
<form method="post" action="addFlowTemplateNext" id="addForm">
<input type="hidden" name="pageNo" value="<c:out value='${pageNo}' />"/>
<div id="body-wrapper">
  <!-- Wrapper for the radial gradient background -->
  <div id="main-content">
    <!-- Main Content Section with everything -->
    <!-- Page Head -->
    <div id="page-title">
      <h3>企业业务流程新建：模板基本信息</h3>
    </div>
    <div class="pgline"></div>
   
    <div class="clear"></div>
    <div id="page-title">
      <h4>模板基本信息</h4>
    </div>

    <div class="pgline"></div>
    <div class="clear"></div>    
    <div class="notification querytj png_bg">
      <div>
       <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
	  <tbody>
        <tr>
          <td width="14%" align="right"  height="35">模板名称：</td>
          <td width="35%" align="left"><input type="text" id="flowTemplateName" name="flowTemplateName" class="input2" readonly="readonly" value="${flowTemplateName}"/></td>
          <td width="16%" align="right" height="35">模板编号：</td>
          <td width="35%" align="left"><input type="text" id="flowTemplateId" name="flowTemplateId" class="input21" readonly="readonly" value="${flowTemplateId}"/></td>
        </tr>
        
        <tr>
          <td width="14%" align="right" height="35">业务类型：</td>
          <td width="35%" >
          	<select name="businessType" id="businessType" class="select1" disabled="disabled">
            	<option value="">-</option>
	            <c:forEach items="${optionOperationTypeMap}" var="one">
	              <option value="<c:out value="${one.key}"></c:out>" <c:out value="${businessType== one.key?'Selected':''}"></c:out>><c:out value="${one.value}"/></option>
	            </c:forEach>
            </select>
          </td>
          <td width="16%" align="right" height="35">创建单位：</td>
          <td width="35%" align="left">
          	<input type="text" id="creatCorp" name="creatCorp" readonly="readonly" class="input2" value="<c:out value="${creatCorp}"/>" />
          </td>
        </tr>
        
        <tr>
          <td width="14%" align="right"  height="35" >模板备注：</td>
          <td width="35%" align="left" colspan="3" height="35">
            <textarea name="notes" rows="3" id="notes" class="input3" readonly="readonly" style="width:600px"  ><c:out value="${notes}"/></textarea>
		  </td>
        </tr>

		</tbody>
		<tfoot>
        
		</tfoot>
      </table>
      </div>
    </div>
    <div class="clear"></div>

    <div class="clear"></div>
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>节点列表</h3>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab">
          <table>
            <thead>
              <tr>
                <th>节点编号</th>
                <th>节点名称</th>
                <th>节点类型</th>
                <th>商业角色</th>
                <th>平台备注</th>
              </tr>
            </thead>
          
            <tbody>
            	<c:forEach items="${dataxFlowActorsTemplateVOList}" var="dataxFlowActorsTemplateVO">
	            	<tr>
	            	<td><c:out value="${dataxFlowActorsTemplateVO.id.actorNo}"></c:out></td>
	                <td><c:out value="${dataxFlowActorsTemplateVO.actorName}"></c:out></td>
	                <td><c:out value="${optionActorTypeMap[dataxFlowActorsTemplateVO.actorType]}"></c:out></td>
	                <td><c:out value="${optionBusinessRoleMap[dataxFlowActorsTemplateVO.businessRole]}"></c:out></td>
	                <td><c:out value="${dataxFlowActorsTemplateVO.notes}"></c:out></td>
					</tr>
            	</c:forEach>
            </tbody>
          </table>
        </div>
        <!-- End #tab1 -->
      </div>
      <!-- End .content-box-content -->
    </div>    
    
    <div class="clear"></div>
    <div class="content-box">
      <!-- Start Content Box -->
      <div class="content-box-header">
        <h3>活动列表</h3>
        <div class="clear"></div>
      </div>
      <!-- End .content-box-header -->
      <div class="content-box-content">
        <div class="tab-content default-tab">
          <table>
            <thead>
              <tr>
                <th>活动编号</th>
                <th>活动名称</th>
                <th>活动顺序</th>
                <th>活动起点</th>
                <th>活动终点</th>
              </tr>
            </thead>          
            <tbody>
            	<c:forEach items="${dataxFlowActivityTemplateVOList}" var="dataxFlowActivityTemplateVO">            	
	            	<tr>
	                <td><c:out value="${dataxFlowActivityTemplateVO.id.activityNo}"></c:out></td>
	                <td><c:out value="${dataxFlowActivityTemplateVO.activityName}"></c:out></td>
	                <td><c:out value="${dataxFlowActivityTemplateVO.activityOrder}"></c:out></td>
	                <td><c:out value="${optionNodeMap[dataxFlowActivityTemplateVO.actorStart]}"></c:out></td>
	                <td><c:out value="${optionNodeMap[dataxFlowActivityTemplateVO.actorEnd]}"></c:out></td>
	              	</tr>
            	</c:forEach>
            </tbody>
          </table>
        </div>
        <!-- End #tab1 -->
      </div>
      <!-- End .content-box-content -->
    </div>     
  </div>
  <!-- End #main-content -->
</div>
</form>
</body>
</html>
